package com.aloda.vo.userAnswer;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AnswerRecordExportVO {

    /**
     * 应用名称
     */
    @ExcelProperty(value = "应用名称", index = 1)
    @ColumnWidth(20)
    private String appName;

    /**
     * 用户答案（JSON 数组）
     */
    @ExcelProperty(value = "用户答案", index = 4)
    @ColumnWidth(50)
    private String choices;

    /**
     * 结果名称
     */
    @ExcelProperty(value = "结果名称", index = 5)
    @ColumnWidth(30)
    private String resultName;

    /**
     * 结果描述
     */
    @ExcelProperty(value = "结果描述", index = 6)
    @ColumnWidth(50)
    private String resultDesc;

    /**
     * 得分
     */
    @ExcelProperty(value = "得分", index = 7)
    @ColumnWidth(20)
    private Integer resultScore;

    /**
     * 用户昵称
     */
    @ExcelProperty(value = "用户昵称", index = 8)
    @ColumnWidth(10)
    private String nickname;

    /**
     * 答题时间
     */
    @ExcelProperty(value = "答题时间", index = 9)
    @ColumnWidth(20)
    private LocalDateTime createTime;
}
